import createAxios from '/@/utils/axios'

export const url = '/admin/Dashboard/'

export function index(date:[]) {
    return createAxios({
        url: url + 'index',
        method: 'post',
        data: date
    },{
        loading:true
    })
}


export function projectYearChart(data:string) {

}



export function otherYearChart(data:string) {
    return createAxios({
        url: url + 'getOtherYearChart',
        method: 'post',
        data: {year:data}
    },{
        loading:true
    })
}


export function channelYearChart(data:string) {
    return createAxios({
        url: url + 'getChannelYearChart',
        method: 'post',
        data: {year:data}
    },{
        loading:true
    })
}
